package vip.xiaonuo.sys.bo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;
@Getter
@Setter
public class SysUserAddBO {
    /**
     * 账号
     */
    @ApiModelProperty(value = "账号", required = true, position = 1)
    @NotBlank(message = "账号不能为空")
    private String account;
    @ApiModelProperty(value = "姓名", required = true, position = 1)
    @NotBlank(message = "姓名不能为空")
    private String name;
    /**
     * 密码
     */
    @ApiModelProperty(value = "密码", required = true, position = 2)
    @NotBlank(message = "密码不能为空")
    private String password;
    /**
     * 密码
     */
    @ApiModelProperty(value = "重复密码", required = true, position = 2)
    @NotBlank(message = "重复密码不能为空")
    private String password2;


    @ApiModelProperty(value = "身份", required = true, position = 2)
    @NotBlank(message = "身份不能为空")
    private String role;

    private String brandName;

    private String brandDesc;

}
